Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions


Working With Sound Channels

Sequence grabber components provide a number of functions that allow you to configure the grabber's sound channels. This section describes these configuration functions, which you can use only with sound channels. You can determine whether a channel has a sound representation by calling the SGGetChannelInfo function, described on page 5-58. If you want to configure a video channel, use the
functions described in "Working With Video Channels" beginning on page 5-73. If you want to configure general attributes of a channel, use the functions described in "Working With Channel Characteristics" beginning on page 5-55.

Use the SGSetSoundInputDriver function to specify a channel's sound
input device. You can determine a channel's sound input device by calling the SGGetSoundInputDriver function. If you change any attributes of the sound input device, you should notify the sequence grabber component by calling the SGSoundInputDriverChanged function. By default, the sequence grabber component uses the sound driver's best settings.

You can control the amount of sound data the sequence grabber works with at one
time by calling the SGSetSoundRecordChunkSize function. You can determine
this value by calling the SGGetSoundRecordChunkSize function.

You can control the rate at which the sound channel samples the input data by calling the SGSetSoundInputRate function. You can determine the sample rate by calling the SGGetSoundInputRate function.

You can control other sound input parameters by using the SGSetSoundInputParameters and SGGetSoundInputParameters functions.


Subtopics
SGSetSoundInputDriver
SGGetSoundInputDriver
SGSoundInputDriverChanged
SGSetSoundRecordChunkSize
SGGetSoundRecordChunkSize
SGSetSoundInputRate
SGGetSoundInputRate
SGSetSoundInputParameters
SGGetSoundInputParameters

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help